const fs=require('fs');

module.exports=filePath=>new Promise((resolve,reject)=>{
    fs.readFile(filePath,'binary',(err,data)=>{
        if(err)return reject(err);
        resolve(data);
    });
});